<?php

namespace App\Miners;

use Illuminate\Database\Eloquent\Model;

class MinerWorker extends Model
{
    //
    protected $table = 'miner_workers';
    protected $fillable = ['miner_id', 'address', 'worker_name','worker_hash'];

    public function miner(){
        return $this->belongsTo(Miner::class);
    }

}
